/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.dao;

import com.tesam.gedeon.entity.Region;
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface RegionDao {
    
    public int getCountAll();
    
    public int getCountBySearch(Region region);
    
    public List<Region> getListByLimit(String dataToSort ,String directionOfOrder , int startLimit , int endLimit);
    
    public List<Region> getSearchByName(String dataToSort ,String directionOfOrder , int startLimit , int endLimit , Region region);
    
    public List<Region> getRegionById(Region region);
    
    public int saveRegion(Region region);
    
    public void delete(Region region);
    
    public List<Region> updateRegion(Region region);
    
}
